package com.stylefeng.guns.api.user;

import com.stylefeng.guns.api.user.vo.UserInfoModel;
import com.stylefeng.guns.api.user.vo.UserModel;

/**
 * @ClassName UserAPI
 * Created by zghgchao 2019/8/2 12:06
 **/
public interface UserAPI {

    int login(String username,String password);

    boolean register(UserModel model);

    boolean checkUsername(String username);

    UserInfoModel getUserInfo(int uuid);

    UserInfoModel updateUserInfo(UserInfoModel model);

}
